import config from '../../assets/js/conf/config';
import {request} from '../../assets/js/utils/request';

//提交订单
export function submitOrder(params){
    return request(config.baseUrl+'/order/add?token='+config.token, 'post', params);
}

//获取订单编号
export function getOrderNum(params){
    return request(config.baseUrl+'/order/lastordernum?uid='+params.uid+'&token='+config.token);
}